<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1 , user-scalable=no" > 
    <meta name="description" content="">
    <meta name="keywords" content="">
	<title>客户端提问页</title>
    <link rel="stylesheet" href="../static/style/client.css">
    <script type="text/javascript"
	src="../static/jquery/jquery-1.10.2.min.js"></script>
    <script type="text/javascript"
	src="../static/js/question/askQuestionPage.js"></script>
</head> 
<body> 
    <div class="header">
        <div class="c_logo2 float_l"><img src="../static/images/c_logo.png" alt="logo"></div>
        <div class="header_tit float_l">听云FIELD MARKETING活动统计系统</div>
        <div class="sign_out float_r header_icon"  onclick="exit()">退出</div> <!-- href="../../manager/logout" -->
        <div class="c_user2 float_r header_icon">${currentUser.managerName}</div>
    </div>
    <div class="content">
    	<div class="content_lay4">
    	<!-- 转码 -->
        	<div class="username float_l">客户姓名：<span>${companyUserBean.userName}</span></div>
            <div class="userwork float_l">公司名称：<span>${companyUserBean.companyName}</span></div>
            <div class="return_but float_r" href="javascript :;" onClick="javascript :history.back(-1);">返回</div>
        </div>
        <div class="Q_box">
        	<div class="float_div">
                <div class="Qtit float_l">问题：</div>
                <div class="userQ float_r">
                    <textarea class="Qtext" id="content"></textarea>
                </div>
            </div> 
            <div class="but_div">
            	<div class="submitbut" id="addQuestion1">提交</div>
                <div class="resetbut"  id="resetQuestion"  onclick="ResetText()">重置</div>
              <!-- <input type="reset" value="重置" /> -->
            </div> 
        </div>
        <div class="agoQ_box">
        	<div class="agoQ_tit">历史问题</div>
            <ul class="agoQ_ul1">
                  <c:forEach items="${listQuestions}" var="item" varStatus="status">
	            <li>
                	<div class="agoQ_div1"><div class="agoQ_ltit float_l">${status.count}.${item.content}</div><span onclick="toggleAnswer('${item.id}')"></span><div class="agoQ_time float_r">${item.ctime}</div></div>
                    <div class="agoQ_div2 answer_div_${item.id}" id="${item.id}" style="display:none">${item.answer}</div>
                </li>
	              </c:forEach>
            </ul>
        </div>
    </div>
</body> 
</html>
